package online.cmagic.structureType.facade;

/**
 * @author wsc
 * @date: 2020年04月15日 12:58
 * @since JDK 1.8
 */
public class ShapeMaker {

    private Shape cricle;
    private Shape rectangle;
    private Shape square;

    public ShapeMaker(){
        cricle = new Cricle();
        rectangle = new Rectangle();
        square = new Square();
    }

    public void drawCricle(){
        cricle.draw();
    }

    public void drawSquare(){
        square.draw();
    }

    public void drawRectangle(){
        rectangle.draw();
    }

}
